package com.ruoyi.system.service;

import com.ruoyi.common.exception.user.TemplateException;
import com.ruoyi.system.domain.SysCertificateSchool;

import java.util.List;

/**
 * 校园证书信息
 */
public interface ISysCertificateSchoolService {

    /**
     * 查询所有学校证书信息(含综合查询)
     * @param sysCertificateSchool
     * @return
     */
    public List<SysCertificateSchool> querySysCertificateSchools(SysCertificateSchool sysCertificateSchool);

    /**
     * 根据证书id删除老师证书信息
     * @param certificateid
     */
    public void deleteSysCertificateSchool(Integer certificateid);

    /**
     * 查询是否重复颁发学校证书
     * @param sysCertificateSchool
     * @return
     */
    public Integer queryCertificateSchoolIsNull(SysCertificateSchool sysCertificateSchool);

    /**
     * 颁发校园证书
     * @param sysCertificateSchool
     */
    public void saveSysCertificateSchool(SysCertificateSchool sysCertificateSchool) throws TemplateException;
}
